
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@page pageEncoding="UTF-8" %>
<%@page isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>login</title>
<%--    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/view/css/style.css" />--%>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/view/css/style.css"/>
    <script type="text/javascript" src="${pageContext.request.contextPath}/view/jquery-1.8.3.js"></script>
    <script type="text/javascript">
    </script>

</head>

<body>
<div id="wrap">
    <div id="top_content">
        <div id="header">
            <div id="rightheader">
                <p>
                    2009/11/20
                    <br />
                </p>
            </div>
            <div id="topheader">
                <h1 id="title">
                    <a href="#">main</a>
                </h1>
            </div>
            <div id="navigation">
            </div>
        </div>
        <div id="content">
            <p id="whereami">
            <c:if test="${sessionScope.error!=null}">
                <h1>${sessionScope.error}</h1>
            </c:if>
            <c:remove var="error" scope="session"/>
            </p>
            <h1>
                login
            </h1>
            
            <form action="${pageContext.request.contextPath}/euser/login" method="post">
                <table cellpadding="0" cellspacing="0" border="0"
                       class="form_table">
                    <tr>
                        <td valign="middle" align="right">
                            username:
                        </td>
                        <td valign="middle" align="left">
                            <input type="text" class="inputgri" name="username" />
                        </td>
                    </tr>
                    <tr>
                        <td valign="middle" align="right">
                            password:
                        </td>
                        <td valign="middle" align="left">
                            <input type="password" class="inputgri" name="password"/>
                        </td>
                    </tr>
                    <tr>
                        <td valign="middle" align="right">
                            <img src="${pageContext.request.contextPath}/euser/image" id="num"/>
                            <a href="${pageContext.request.contextPath}/view/login.jsp" onclick="document.getElementById('num').src = '${pageContext.request.contextPath}/euser/image?'+(new Date()).getTime()">换一张</a>
                        </td>
                        <td valign="middle" align="left">
                            <input type="text" class="inputgri" name="ucode" />
                        </td>
                    </tr>
                </table>
                <p>
                    <input type="submit" class="button" value="Submit &raquo;" />
                </p>
            </form>
        </div>
    </div>
    <div id="footer">
        <div id="footer_bg">
            ABC@126.com
        </div>
    </div>
</div>
</body>
</html>
